package com.zimmur.app.mocolink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zimmur.app.mocolink.domain.model.GroupGoodsItem;
import com.zimmur.app.mocolink.domain.model.GroupGoodsItemExample;
//import com.zimmur.app.mocolink.domain.vo.GroupGoodsItemInfo;

public interface GroupGoodsItemMapper {
    int countByExample(GroupGoodsItemExample example);

    int deleteByExample(GroupGoodsItemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GroupGoodsItem record);

    int insertSelective(GroupGoodsItem record);

    List<GroupGoodsItem> selectByExample(GroupGoodsItemExample example);

    GroupGoodsItem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GroupGoodsItem record, @Param("example") GroupGoodsItemExample example);

    int updateByExample(@Param("record") GroupGoodsItem record, @Param("example") GroupGoodsItemExample example);

    int updateByPrimaryKeySelective(GroupGoodsItem record);

    int updateByPrimaryKey(GroupGoodsItem record);

	/**
	* <p>Title: readGroupGoodsItem</p>
	* <p>Description: 查询组货明细</p>
	* @param id
	* @param userId
	* @return
	*/
	//List<GroupGoodsItemInfo> readGroupGoodsItem(@Param("id")Integer id,@Param("userId") Integer userId);
}